{include 'admin/layout/header_list'}
<link rel="stylesheet" href="__ADMIN_STATIC__/css/addContent.css?random={extendSetting('random')}">
<div class="addcontent">
    <form class="ajaxForm" method="post">
        <input type="hidden" name="_method" value="post">
        <table class="table">
            <tr>
                <td class="tl">
                    <span><strong>* </strong>菜单id</span>
                </td>
                <td>
                    <select name="menuId">
                        <option value="0">无菜单id</option>
                        {if $adminMenuVal}
                        {foreach $adminMenuVal $key $val}
                        <option value="{$key}">{$val}</option>
                        {/foreach}
                        {/if}
                    </select>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong>* </strong>路由请求方法</span>
                </td>
                <td>
                    <select name="routhAction">
                        <option value="1" selected >get</option>
                        <option value="2">post</option>
                        <option value="3">put</option>
                        <option value="4">delete</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong> </strong>路由地址</span>
                </td>
                <td>
                    <input class="long" type="text" name="route" value="">
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong> </strong>命名空间控制器名称</span>
                </td>
                <td>
                    <input class="long" type="text" name="moduleName" value="">
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong> </strong>命名空间控制器</span>
                </td>
                <td>
                    <input class="long" type="text" name="module" value="">
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong> </strong>控制器方法名称</span>
                </td>
                <td>
                    <input class="long" type="text" name="actionName" value="">
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong> </strong>控制器方法</span>
                </td>
                <td>
                    <input class="long" type="text" name="action" value="">
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong> </strong>其他参数</span>
                </td>
                <td>
                    <input class="long" type="text" name="other" value="">
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong></strong>是否显示</span>
                </td>
                <td>
                    <select name="isShow">
                        <option value="1" selected >显示</option>
                        <option value="2">隐藏</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong>* </strong>是否启用</span>
                </td>
                <td>
                    <select name="isEnable">
                        <option value="1" selected >启用</option>
                        <option value="2">停用</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong> </strong>排序</span>
                </td>
                <td>
                    <input class="" type="number" name="sort" value="1">
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong> </strong>描述</span>
                </td>
                <td>
                    <input class="long" type="text" name="description" value="">
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong> </strong>来源插件id</span>
                </td>
                <td>
                    <input class="long" type="text" name="plugins" value="">
                </td>
            </tr>
        </table>
    </form>
    <div class="ltcms-button">
        <button class="btns submit ajaxBtn" type="button" data-submit-url="{LTCMS_ROUTE_PREFIX}/adminFunc" data-form=".ajaxForm" data-location-url="{LTCMS_ROUTE_PREFIX}/adminFunc/index" data-close="5">
            确认添加
        </button>
        <button class="btns cancel">取消并返回</button>
    </div>
</div>
<script src="__ADMIN_STATIC__/js/addContent.js?random={extendSetting('random')}"></script>
{include 'admin/layout/footer'}